home *** CD-ROM | disk | FTP | other *** search
/ PC World Interactive 7 / PC World Interactive 7.iso / program / cprog.EXE / BMP2BGI1.ZIP / BGI.H next >
Text File  |  1991-05-25  |  799b  |  15 lines

  1. //////////////////////////////////////////////////////////////////////////
  2. // BGI.H: struct's for BGI files created w/ BMP2BGI
  3. //////////////////////////////////////////////////////////////////////////
  4.  
  5. typedef struct BGIPreface
  6. {
  7.         int PType;                              // 0=CGA, 1=EGA/VGA, 2=SVGA/IBM8514
  8.         struct palettetype palette;             // Color Palette
  9.         int Width;                              // Image's width in pixels
  10.         int Height;                             // Image's height in pixels
  11.         long Foffset;                           // Offset in file where BGI image is
  12. } BGIPREFACE;
  13.  
  14. #define NULLIMAGESIZE 0x0                       // If image is 64K+, imagesize()
  15.                                                 // will return this value